/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.dealer.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.fx.dealer.entity.FxWarehouseinfo;
import com.vivo.fx.dealer.dao.FxWarehouseinfoDao;

/**
 * 仓库信息Service
 * @author jyangye
 * @version 2017-11-07
 */
@Service
@Transactional(readOnly = true)
public class FxWarehouseinfoService extends CrudService<FxWarehouseinfoDao, FxWarehouseinfo> {

	public FxWarehouseinfo get(String id) {
		return super.get(id);
	}
	
	public List<FxWarehouseinfo> findList(FxWarehouseinfo fxWarehouseinfo) {
		return super.findList(fxWarehouseinfo);
	}
	
	public Page<FxWarehouseinfo> findPage(Page<FxWarehouseinfo> page, FxWarehouseinfo fxWarehouseinfo) {
		return super.findPage(page, fxWarehouseinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(FxWarehouseinfo fxWarehouseinfo) {
		super.save(fxWarehouseinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(FxWarehouseinfo fxWarehouseinfo) {
		super.delete(fxWarehouseinfo);
	}
	
}